-
Notifications
You must be signed in to change notification settings - Fork 80
Conversation
🚀 Deployed on https://deploy-preview-1058--etna-docs.netlify.app |
Codecov Report
@@ Coverage Diff @@
## hierarchical_pipeline #1058 +/- ##
========================================================
Coverage ? 86.48%
========================================================
Files ? 168
Lines ? 8917
Branches ? 0
========================================================
Hits ? 7712
Misses ? 1205
Partials ? 0 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
etna/reconciliation/bottom_up.py
Outdated
if current_level_index < source_level_index: | ||
raise ValueError("Current TSDataset level should be lower or equal in the hierarchy than the source level!") | ||
|
||
if (ts[..., "target"] < 0).values.any(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method works correctly with the values of any kind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this check for consistency purpose only. I think in this case we should add info about nonnegative numbers to TopDownReconciliator
doc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, may you do it in this PR
Before submitting (must do checklist)
Proposed Changes
Closing issues
closes #1037